home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / ste / autoexec.lzh / SOURCE / HEADER.H < prev    next >
Text File  |  1991-08-05  |  750b  |  23 lines

  1. /* Header file for get_cookie(), and load_segm()  */
  2.  
  3. int get_cookie(long cookie, long *p_value);
  4. /* Returns zero if the 'cookie' is not found in the jar. 
  5.  * if the cookie is found it returns non zero and places the
  6.  * value in the longword pointed to by 'p_value'. If 'p_value'
  7.  * is '0l' it does not put the value anywhere...
  8.  */
  9.  
  10.  
  11. /* the DMA play back frequency, this variable is changed by
  12.  * the function LoadSegm() 
  13.  */
  14. int PlayFreq = 129;
  15.  
  16. int LoadSegm(int file, int *rep_segm, long length, long *segm);
  17. /* read and relocate the file 'file'. Load it in the block pointed
  18.  * to by 'segm' of the length 'length'. the function returns the
  19.  * repeat point in the segment file, and changes the global var.
  20.  * 'PlayFreq'
  21.  */
  22.  
  23.